package com.atguigu.springcloud.alibaba.service;

import com.atguigu.springcloud.alibaba.domain.Order;
import org.apache.ibatis.annotations.Param;

public interface OrderService {

    // 1.新建订单
    void create(Order order);

    // 修改订单状态，从0改为1
    void update(@Param("userId") Long userId, @Param("status") Integer status);
}
